package com.wang.bootbuilder.tools;

import com.wang.bootbuilder.execption.NotHasPermissionException;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ReponseEnum {

    SUCCESS(0, "成功"),
    ERROR(1, "服务器异常"),
    PERMISSION(2, "没有权限");

    // 响应状态
    private Integer code;

    // 相应信息
     private String message;
}
